#include <iostream>
#include <cstdlib>
#include <cstdio>
#include "Matrix.h"
//you need to include implementation files for template methods because
//the compiler has to see them at the same time as it sees the code that calls them
#include "Matrix.cpp"
#include <pthread.h>

using namespace std;

void startComputation(void);

int main()
{	
	startComputation();
	return 0;
}

void startComputation(void)
{
	Matrix<int> w("1 2 3; 4 5 6");
	try
	{
		w(1,1) = 5;
	}
	catch(...)
	{
		cout << "Error!" << endl;
	}
	//cout << w(1,1) << endl;

	/*
	pthread_t thread;
	Matrix n("1 2 3; 5 4 2; 1 3 4");
	cout << n;
	Matrix m("1 3 4; 6 7 8; 5 6 7");
	cout << m;

	n + 2;
	cout << n;
		*/
		/*
	Matrix o;
	Matrix x = o;
	*/
}
